package com.wtwd.device.service;


import com.wtwd.device.model.entity.AppUserTotal;

/**
 * @author mjy
 * @date 2021/10/20
 * @description
 */
public interface AppUserTotalService {
    AppUserTotal getAppUserTotalByUserId(Long userId);

    Integer insert(AppUserTotal appUserTotal);

    Integer updateStepTotal(Long userId, Integer stepTotal);

    Integer updateCaloriesTotal(Long userId, Integer caloriesTotal);

    Integer updateRunTotal(Long userId, Integer runTotal);

    Integer updateRidingTotal(Long userId, Integer ridingTotal);

    boolean deleteByUserId(Long userId);
}
